package com.weetop.cfw.mine.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.weetop.cfw.R
import com.weetop.cfw.bean.VipDataInfo

class PurchaseMembershipAdapter(layoutId:Int,dataList:List<VipDataInfo.DataBean>):BaseQuickAdapter<VipDataInfo.DataBean,BaseViewHolder>(layoutId,dataList) {

    override fun convert(helper: BaseViewHolder, item: VipDataInfo.DataBean?) {
        helper.setText(R.id.textTimeLimit,"天数：${item?.viewdays}天").setText(R.id.textAmountSpent,item?.fee.toString())
    }
}